package com.atguigu.edupublisher.utils;

import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.Date;

/**
 * @ClassName DateFormatUtil
 * @Description TODO
 * @Author$ 邢家俊
 * @Date 2023-5-8 20:12
 * @Version 1.0
 **/
public class DateFormatUtil {
    public static Integer now(){
        String yyyyMMdd = DateFormatUtils.format(new Date(), "yyyyMMdd");
        return Integer.valueOf(yyyyMMdd);
    }
}
